<?php
//返回所有的模块名及方法名

return array(
		"admin" => array(
			"name" => "后台用户管理"	,
			"node" => array(
				"index" => array(
					"name" => "用户信息列表","action" => "index"		
				),
				"view" => array(
					"name" => "浏览用户信息","action" => "view"		
				),	
				"create" => array(
					"name" => "添加用户","action" => "create","belong" => "admin"
				),
				"update" => array(
					"name" => "编辑用户","action" => "update","belong" => "admin"
				),
				"delete" => array(
					"name" => "删除用户","action" => "delete","belong" => "admin"	
				),
			)
		),
        "role" => array(
            "name" => "用户角色信息管理"	,
            "node" => array(
                "index" => array(
                    "name" => "角色信息列表","action" => "index"
                ),
                "view" => array(
                    "name" => "浏览角色信息","action" => "view"
                ),
                "create" => array(
                    "name" => "添加角色","action" => "create","belong" => "admin"
                ),
                "update" => array(
                    "name" => "编辑角色","action" => "update","belong" => "admin"
                ),
                "delete" => array(
                    "name" => "删除角色","action" => "delete","belong" => "admin"
                ),
            )
        ),
        "role_access" => array(
            "name" => "角色权限信息列表"	,
            "node" => array(
                "index" => array(
                    "name" => "角色权限列表","action" => "index"
                ),              
                "update" => array(
                    "name" => "角色权限修改","action" => "update","belong" => "admin"
                ),
            )
        ),
);